package com.kingdee.eas.xr;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.util.*;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.Context;
import com.kingdee.bos.BOSException;
import com.kingdee.eas.basedata.org.OrgStructureInfo;
import java.util.Map;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.metadata.IMetaDataPK;
import java.util.Set;
import com.kingdee.eas.framework.bireport.util.SimpleTreeNode;
import java.sql.Timestamp;

public interface IXrCommonFacade extends IBizCtrl
{
    public Set getAllParentOrgIds(String treeId, String orgUnitId) throws BOSException, EASBizException;
    public String getOrgLongNumber(String treeId, String orgUnitId) throws BOSException, EASBizException;
    public Set getChildrenOrgIds(String treeId, String orgUnitId) throws BOSException, EASBizException;
    public String getParentOrgId(Set ids, String treeId) throws BOSException, EASBizException;
    public String locateMetaSvr(String metaName) throws BOSException, EASBizException;
    public String locateClassSvr(String className) throws BOSException, EASBizException;
    public Map beforeDownLoadClassOrJarFile(String className) throws BOSException, EASBizException;
    public boolean afterDownLoadClassOrJarFile(String className) throws BOSException, EASBizException;
    public Timestamp getServerDate() throws BOSException;
    public void saveColorScheme(Map colorScheme, String bosType) throws BOSException, EASBizException;
    public Map loadColorScheme(String bosType) throws BOSException, EASBizException;
    public SimpleTreeNode getCompanyTree(String treeID, OrgStructureInfo rootInfo, IMetaDataPK metaDataPK, IMetaDataPK actionPK) throws BOSException, EASBizException;
}